﻿using QG.JobBack.BLL.IService;
using QG.JobBack.Core;
using QG.JobBack.DAL;
using QH.JobBack.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QG.JobBack.BLL.Service
{
    public class RoleFunctionPermissionService : BaseRepository<RoleFunctionPermission>, IRoleFunctionPermissionService
    {
        /// <summary>
        /// 确认修改的复选框选定
        /// </summary>
        /// <param name="roleId"></param>
        /// <returns></returns>
        public ResponseResult RoleFunctionChecked(int roleId)
        {
            ResponseResult result = new ResponseResult();
            result.data = QueryList(a => a.RoleId == roleId);
            return result;
        }
    }
}
